const express = require('express');
const static = express.static('./assets');
const app = express();
app.use(static);
app.listen(8888, () => {
    console.log('server stared');
});
/**
 * 可通过127.0.0.1:8888/assets/fileName 进行访问
 */
